package com.yuexunit.finance.project.service;

import java.util.Date;
import java.util.List;

import com.yuexunit.finance.project.entity.BillReceivableEntity;
import com.yuexunit.finance.project.entity.lexicon.BillTypeEnum;
import com.yuexunit.page.PageCriteria;
import com.yuexunit.page.PageList;


/**
 * @author wenwenlong
 */
public interface BillReceivableService {

	/** 创建收款单 */
	public Long createBillReceivable(BillReceivableEntity entity);
	
	/** 修改收款单 */
	public void updateBillReceivable(BillReceivableEntity entity);
	
	/** 删除收款单 */
	public void deleteBillReceivable(Long billReceivableId);
	
	/** 查询收款单详情 */
	public BillReceivableEntity inquireBillReceivable(Long billReceivableId);
	
	/** 查询收款单列表 */
	public PageList<BillReceivableEntity> inquireBillReceivablePageList(BillTypeEnum billType, Date startDate, Date endDate, String writeoffNumber,
			String payee, String drawee, Long moneyStatementId, PageCriteria page);
	
	/** 查询收款单列表 */
	public List<BillReceivableEntity> inquireBillReceivableList(Long moneyStatementId);
}
